package com.ruoyi.biz.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.biz.domain.BizParcel;
import com.ruoyi.biz.domain.BizParcelPic;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 邮包展示对象
 * 
 * @author zhangxin
 * @date 2022-01-10
 */
public class BizParcelVO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 邮包ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 邮包物件描述 */
    @Excel(name = "邮包物件描述")
    private String itemDesc;

    /** 邮包编号 */
    @Excel(name = "邮包编号")
    private String parcelNo;

    /** 邮包体积 */
    @Excel(name = "邮包体积")
    private BigDecimal volume;

    /** 邮包重量 */
    @Excel(name = "邮包重量")
    private BigDecimal weight;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNo;

    /** 支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /** 收货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date receivingTime;

    /** 状态 0:待确认 1:待运输 2:运输中 3:已完成 */
    @Excel(name = "状态 0:待确认 1:待运输 2:运输中 3:已完成")
    private Integer status;

    private List<BizParcelPic> pics;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setItemDesc(String itemDesc) 
    {
        this.itemDesc = itemDesc;
    }

    public String getItemDesc() 
    {
        return itemDesc;
    }
    public void setParcelNo(String parcelNo) 
    {
        this.parcelNo = parcelNo;
    }

    public String getParcelNo() 
    {
        return parcelNo;
    }
    public void setVolume(BigDecimal volume) 
    {
        this.volume = volume;
    }

    public BigDecimal getVolume() 
    {
        return volume;
    }
    public void setWeight(BigDecimal weight) 
    {
        this.weight = weight;
    }

    public BigDecimal getWeight() 
    {
        return weight;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setPayTime(Date payTime) 
    {
        this.payTime = payTime;
    }

    public Date getPayTime() 
    {
        return payTime;
    }
    public void setReceivingTime(Date receivingTime) 
    {
        this.receivingTime = receivingTime;
    }

    public Date getReceivingTime() 
    {
        return receivingTime;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public List<BizParcelPic> getPics() {
        return pics;
    }

    public void setPics(List<BizParcelPic> pics) {
        this.pics = pics;
    }

}
